package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 车辆档案管理实体
 * 表名 vehicle_information_manage
 * 手机端 我是用在：档案管理-列表之中的实体，用来获取详情的
 *
 * @author administrator
 * @email 123456678@qq.com
 * @date 2023-07-24 16:11:24
 */
public class InformationManage implements Parcelable {
//    private static final long serialVersionUID = 1L;

//            "archiveTypeId": 0,
//            "archivesManageList": [],
//            "auditBy": 0, //审核人ID
//            "auditStatus": 1, //审核状态：0填写中，1待审核  2通过  3不通过
//            "auditTime": null, //审核时间
//            "carBranchName": "",
//            "carSeriesName": "",
//            "clientId": 19, //客户ID
//            "clientManage": null,
//            "clientName": "梦一", //客户姓名
//            "clientPhone": "13122223333", //客户手机号
//            "clientType": 0, //客户类型：0:个人;1:企业
//            "communityId": 2, //园区ID
//            "communityName": "长安国际汽车产业园", //园区名称
//            "companyId": 11,
//            "createBy": 25635, //创建人ID
//            "createTime": "2023-11-04 11:32:21", //创建时间
//            "informationAccessoryList": [],
//            "informationAccessoryUrlList": [],
//            "informationId": 25, //档案盒ID
//            "informationNo": "169906876131066075", //档案编码
//            "informationStatus": "",
//            "isDelete": 0, //是否删除：0：否；1：是
//            "managerId": 0, //上级经理ID
//            "reason": "", //审核原因
//            "shopInfoId": 1495, //店铺ID
//            "shopInfoName": "众诚上汽大众", //店铺名称
//            "templateVos": [],
//            "updateBy": 0,
//            "updateTime": null,
//            "updateType": 0,
//            "vehicleList": [],
//            "vehicleType": 0
//}


    private String businessTypeName;
    private String catalogName;
    private String createSerialNo;
    private String createTime;
    private String signTemplateId;
    private String signTemplateName;
    //    private String signTemplateStatus;
    private transient String storageType;
    private transient String updateTime;

    //档案编号
    private String informationNo;

    //合同状态
    private String auditStatus;
    //乙方电话
    private String clientPhone;

    //合同的类型，也就是 新车 或者二手车；
    private String vehicleType;

    //该档案的id内容
    private String informationId;

    //销售经理的id内容
    private String managerId;
    //该条签署任务的任务id;
    private String signTaskId;
    //客户姓名，也即是  乙方姓名
    private String clientName;
    //店铺名称
    private String shopInfoName;
    private String communityName;

    public String getBusinessTypeName() {
        return businessTypeName;
    }

    public void setBusinessTypeName(String businessTypeName) {
        this.businessTypeName = businessTypeName;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getCreateSerialNo() {
        return createSerialNo;
    }

    public void setCreateSerialNo(String createSerialNo) {
        this.createSerialNo = createSerialNo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getSignTemplateId() {
        return signTemplateId;
    }

    public void setSignTemplateId(String signTemplateId) {
        this.signTemplateId = signTemplateId;
    }

    public String getSignTemplateName() {
        return signTemplateName;
    }

    public void setSignTemplateName(String signTemplateName) {
        this.signTemplateName = signTemplateName;
    }

    public String getStorageType() {
        return storageType;
    }

    public void setStorageType(String storageType) {
        this.storageType = storageType;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getInformationNo() {
        return informationNo;
    }

    public void setInformationNo(String informationNo) {
        this.informationNo = informationNo;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone;
    }

    public String getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
    }

    public String getInformationId() {
        return informationId;
    }

    public void setInformationId(String informationId) {
        this.informationId = informationId;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public String getSignTaskId() {
        return signTaskId;
    }

    public void setSignTaskId(String signTaskId) {
        this.signTaskId = signTaskId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getShopInfoName() {
        return shopInfoName;
    }

    public void setShopInfoName(String shopInfoName) {
        this.shopInfoName = shopInfoName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }


    //    /**
//     * 主键id   车辆档案id
//     */
//    private String vehicleId;
//    /**
//     * 车架号
//     */
//    private transient String vin;
//    /**
//     * 车牌号码
//     */
//    private transient String licenseNumber;
//    /**
//     * 车辆类型
//     */
//    private transient String vehicleType;
//    /**
//     * 车辆品牌
//     */
//    private transient String carBranch;
//    /**
//     * 车辆型号
//     */
//    private transient String carModel;
//    /**
//     * 车辆车系
//     */
//    private transient String carSeries;
//    /*
//     * 发动机号
//     */
//    private transient String engineNum;
//    /**
//     * 是否删除   0否  1是
//     */
//    private transient Integer isDelete;
//    /**
//     * 创建时间
//     */
//    private transient String createTime;
//    /**
//     * 创建人
//     */
//    private transient Integer createBy;
//    /**
//     * 修改时间
//     */
//    private transient Date updateTime;
//    /**
//     * 修改人
//     */
//    private transient Integer updateBy;
//
//    /*
//     * 客户信息id
//     */
//    private transient Integer clientId;
//
//    /*
//     * 审核状态   0待审核  1审核通过  2审核失败
//     */
//    private transient Integer auditStatus;
//
//    /*
//     * 失败原因
//     */
//    private transient String reason;
//
//    /*
//     * 审核时间
//     */
//    private transient Date auditTime;
//
//    /*
//     * 审核人
//     */
//    private transient Integer auditBy;
//
//    /*
//     * 店铺id
//     */
//    private transient Integer shopInfoId;
//
//    /*
//     * 园区id
//     */
//    private transient Integer communityId;
//
//    /*
//     * 企业id
//     */
//    private transient Integer companyId;


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.businessTypeName);
        dest.writeString(this.catalogName);
        dest.writeString(this.createSerialNo);
        dest.writeString(this.createTime);
        dest.writeString(this.signTemplateId);
        dest.writeString(this.signTemplateName);
        dest.writeString(this.informationNo);
        dest.writeString(this.auditStatus);
        dest.writeString(this.clientPhone);
        dest.writeString(this.vehicleType);
        dest.writeString(this.informationId);
        dest.writeString(this.managerId);
        dest.writeString(this.signTaskId);
        dest.writeString(this.clientName);
        dest.writeString(this.shopInfoName);
        dest.writeString(this.communityName);
    }

    public void readFromParcel(Parcel source) {
        this.businessTypeName = source.readString();
        this.catalogName = source.readString();
        this.createSerialNo = source.readString();
        this.createTime = source.readString();
        this.signTemplateId = source.readString();
        this.signTemplateName = source.readString();
        this.informationNo = source.readString();
        this.auditStatus = source.readString();
        this.clientPhone = source.readString();
        this.vehicleType = source.readString();
        this.informationId = source.readString();
        this.managerId = source.readString();
        this.signTaskId = source.readString();
        this.clientName = source.readString();
        this.shopInfoName = source.readString();
        this.communityName = source.readString();
    }

    public InformationManage() {
    }

    protected InformationManage(Parcel in) {
        this.businessTypeName = in.readString();
        this.catalogName = in.readString();
        this.createSerialNo = in.readString();
        this.createTime = in.readString();
        this.signTemplateId = in.readString();
        this.signTemplateName = in.readString();
        this.informationNo = in.readString();
        this.auditStatus = in.readString();
        this.clientPhone = in.readString();
        this.vehicleType = in.readString();
        this.informationId = in.readString();
        this.managerId = in.readString();
        this.signTaskId = in.readString();
        this.clientName = in.readString();
        this.shopInfoName = in.readString();
        this.communityName = in.readString();
    }

    public static final Parcelable.Creator<InformationManage> CREATOR = new Parcelable.Creator<InformationManage>() {
        @Override
        public InformationManage createFromParcel(Parcel source) {
            return new InformationManage(source);
        }

        @Override
        public InformationManage[] newArray(int size) {
            return new InformationManage[size];
        }
    };
}
